$(document).ready(function()
{
    $('.date-picker').datepicker({
        changeYear: true,
        changeMonth: true,
        showWeek: true,
        showButtonPanel: true,
        dateFormat: 'yy-mm-dd'
    });
});